#include "xmppcore/xmppparserfactory.h"

namespace yoohoo_xmppcore {

ParsingAttribute::ParsingAttribute(QString prefix, QString localName, QString value) :
		_prefix(prefix), _localName(localName), _value(value) {
}

void ParsingAttribute::setPrefix(QString prefix) {
	_prefix = prefix;
}

QString ParsingAttribute::prefix() const {
	return _prefix;
}

void ParsingAttribute::setLocalName(QString localName) {
	_localName = localName;
}

QString ParsingAttribute::localName() const {
	return _localName;
}

void ParsingAttribute::setValue(QString value) {
	_value = value;
}

QString ParsingAttribute::value() const {
	return _value;
}

XmppParser::~XmppParser() {
}

bool XmppParser::processAttributes(QString path, QList<ParsingAttribute> attributes) {
	return true;
}

bool XmppParser::processText(QString path, QString text) {
	return true;
}

bool XmppParser::processEmbeddedObject(ProtocolKey protocolKey, XmppObject* object) {
	return true;
}

}
